from django.contrib import admin
from course.models import Course
# Register your models here.

@admin.register(Course)
class courseAdmin(admin.ModelAdmin):
    list_display_links = ['course_id','course_name']
    # 显示的列表信息
    list_display = ('course_id','course_name','create_time','modify_time')